package com.tuo51.evaluate.vo.evaluate;

import com.tuo51.evaluate.domain.evaluatingV2.EvaluateV2Tool;
import com.tuo51.foudation.utils.CopyUtils;
import lombok.Data;

@Data
public class EvaluateV2ToolVO {

    private String id;

    private String title;

    private Integer count = 1;

    private String unit;

    private String comment;

    private String imgUrl;

    private Integer imgCount;

    private String url;

    private Integer month;

    private Integer indexOnPaper;

    public static EvaluateV2ToolVO of(EvaluateV2Tool template){
        EvaluateV2ToolVO ret = new EvaluateV2ToolVO();
        CopyUtils.copyProperties(template, ret);
        return ret;
    }
}
